﻿Namespace Attributes
    <System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple:=False, Inherited:=True), System.Serializable()> _
    Public Class DisableElementAttribute
        Inherits Attribute
        Implements IPropertyAttribute
        Public Property DisabledValue As Object
        Public Sub New(ByVal disabledValue As Object)
            Me.DisabledValue = disabledValue
        End Sub
        Public Sub New()
            Me.DisabledValue = True
        End Sub
    End Class
End Namespace
